package com.jdls.tanhua.dubbo.impl;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.jdls.tanhua.dubbo.OptionsApi;
import com.jdls.tanhua.dubbo.mapper.OptionsMapper;
import com.jdls.tanhua.pojo.Options;
import org.apache.dubbo.config.annotation.DubboService;
import org.checkerframework.checker.nullness.Opt;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

@DubboService
public class OptionsImpl implements OptionsApi {

    @Autowired
    private OptionsMapper optionsMapper;

    @Override
    public List<Options> find(List<Integer> textIds) {
        List<Options> options = optionsMapper.selectList(null);
        return options;
    }
}
